<?php if (!defined('THINK_PATH')) exit();?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8">
<title><?php echo ($System_namex); ?></title>
<script type=text/javascript src="__PUBLIC__/Js/jquery-1.11.3.min.js"></script>
<script type=text/javascript src="__PUBLIC__/Js/nav.js"></script>
<link href="__PUBLIC__/Css/mainindex.css" rel="stylesheet" type="text/css">
<script language="javascript">
function turnHeight(iframe)
{
    var frm = document.getElementById(iframe);
	frm.height = 1200;
    var subWeb = document.frames ? document.frames[iframe].document : frm.contentDocument;
    if(frm != null && subWeb != null)
    {
	if (subWeb.body.scrollHeight<1200){
	frm.height = 1200;
	}else{
	frm.height = subWeb.body.scrollHeight + 800;
	}
	}
}
</script>
<script type="text/javascript">
function reinitIframe(){
	var iframe = document.getElementById("main");
	try{
		var bHeight = iframe.contentWindow.document.body.scrollHeight;
		var dHeight = iframe.contentWindow.document.documentElement.scrollHeight;
		var height = Math.max(bHeight, dHeight);
		iframe.height =  height;
	}catch (ex){}
}
</script>
<script>
	/*jQuery("#frame_content").load(function (){
		var mainheight = jQuery(this).contents().find("body").height() + 0;
		jQuery(this).height(mainheight);
	});*/
</script>
<script type="text/javascript">
	jQuery(function(){
		jQuery('#aa').click(function(){
			jQuery('#aa').removeClass('current');
			jQuery(this).addClass('current');
		});
		
	});
	</script>
<script>
function menu(index){
	$(".nav li").removeClass("seleli");
	$(".nav li").eq(index).addClass("seleli");
	$("#sidebar ul").hide();
	$("#menu"+index).show();
}
</script>
<body style="background:#666;">
<div class="w100">
<img src="__PUBLIC__/Images/bgbg.jpg" width="100%" width="1500"/>
<!--头部菜单-->
<div class="headermenu">
  <!--logo-->
  <div class="headerlogo"><img src="__PUBLIC__/Images/bgbg.png" width="50" height="50"/></div>
  <div class="headercenter">
    <ul>
      <li><img src="__PUBLIC__/Images/gohome.png" width="16" height="16"/><a href="__APP__/Public/main/" target="main">桌面</a>
<!--         <ul>
            <li><img src="__PUBLIC__/Images/checked_out.png" width="16" height="16"/><a href="" target="main"></a></li>
            <li><img src="__PUBLIC__/Images/checked_out.png" width="16" height="16"/><a href="" target="main">会员管理</a></li>
         </ul>-->
      </li>
      <li><img src="__PUBLIC__/Images/group.png" width="16" height="16"/><a>我的团队</a>
         <ul>
            <li><img src="__PUBLIC__/Images/group_add.png" width="16" height="16"/><a href="__APP__/Reg/users" target="main">注册会员</a></li>
            <li><img src="__PUBLIC__/Images/chart_pie_link.png" width="16" height="16"/><a href="__APP__/Change/re_member" target="main">直推会员</a></li>
            <li><img src="__PUBLIC__/Images/tux.png" width="16" height="16"/><a href="__APP__/Tree/cody/c_id/6" target="main">推荐图谱</a></li>
         </ul>
      </li>
      <li><img src="__PUBLIC__/Images/application_edit.png" width="16" height="16"/><a>账户中心</a>
        <ul>
            <li><img src="__PUBLIC__/Images/group_key.png" width="16" height="16"/><a href="__APP__/Change/cody/c_id/2" target="main">修改密码</a></li>
            <li><img src="__PUBLIC__/Images/application_form_edit.png" width="16" height="16"/><a href="__APP__/Change/cody/c_id/1" target="main">修改资料</a></li>
            <li><img src="__PUBLIC__/Images/money_dollar.png" width="16" height="16"/><a href="__APP__/Cash/wallet" target="main">钱包收益</a></li>
            <li><img src="__PUBLIC__/Images/medal_bronze_2.png" width="16" height="16"/><a href="__APP__/Bonus/cody/c_id/1" target="main">奖金明细</a></li>
            <li><img src="__PUBLIC__/Images/arrow_up.png" width="16" height="16"/><a href="__APP__/Uplevel/cody/c_id/1" target="main">晋级管理</a></li>
         </ul>
      </li>
      <li><img src="__PUBLIC__/Images/heart.png" width="16" height="16"/><a>互助社区</a>
         <ul>
            <li><img src="__PUBLIC__/Images/ruby_put.png" width="16" height="16"/><a href="__APP__/Cash/cody/c_id/10" target="main">提供援助</a></li>
            <li><img src="__PUBLIC__/Images/page_white_put.png" width="16" height="16"/><a href="__APP__/Cash/cody/c_id/11" target="main">提供援助列表</a></li>
            <li><img src="__PUBLIC__/Images/ruby_get.png" width="16" height="16"/><a href="__APP__/Cash/cody/c_id/8" target="main">需要援助</a></li>
            <li><img src="__PUBLIC__/Images/page_white_get.png" width="16" height="16"/><a href="__APP__/Cash/cody/c_id/9" target="main">需要援助列表</a></li>
         </ul>
      </li>
      <li><img src="__PUBLIC__/Images/email.png" width="16" height="16"/><a>邮件管理</a>
         <ul>
            <li><img src="__PUBLIC__/Images/email_open.png" width="16" height="16"/><a href="__APP__/Msg/inmsg/" target="main">收件箱</a></li>
            <li><img src="__PUBLIC__/Images/email_go.png" width="16" height="16"/><a href="__APP__/Msg/outmsg/" target="main">发邮件</a></li>
            <li><img src="__PUBLIC__/Images/email_edit.png" width="16" height="16"/><a href="__APP__/Msg/writemsg/" target="main">写邮件</a></li>
         </ul>
      </li>
     <li><img src="__PUBLIC__/Images/new.png" width="16" height="16"/><a href="__APP__/News/News" target="main">新闻中心</a></li>
       <?php if(($fck_rs['is_boss']) >= "1"): ?><li><img src="__PUBLIC__/Images/coins.png" width="16" height="16"/><a>财务管理</a>
         <ul>
            <li><img src="__PUBLIC__/Images/rainbow.png" width="16" height="16"/><a href="__APP__/Bonus/cody/c_id/4" target="main">奖金查询</a></li>
            <li><img src="__PUBLIC__/Images/money.png" width="16" height="16"/><a href="__APP__/YouZi/cody/c_id/18" target="main">货币流向</a></li>
            <li><img src="__PUBLIC__/Images/coins_add.png" width="16" height="16"/><a href="__APP__/Recharge/cody/c_id/2" target="main">充值管理</a></li>
            <li><img src="__PUBLIC__/Images/money_add.png" width="16" height="16"/><a href="__APP__/Cash/cody/c_id/6" target="main">交易管理</a></li>
            <li><img src="__PUBLIC__/Images/user_edit.png" width="16" height="16"/><a href="__APP__/Cash/cody/c_id/7" target="main">手动匹配</a></li>  
         </ul>
      </li><?php endif; ?>
    </ul>
  </div>
  <!--右边-->
  <div class="headerright">
    <ul>
     <?php if(($fck_rs['is_boss']) >= "1"): ?><li><img src="__PUBLIC__/Images/cog.png" width="16" height="16"/><a>后台管理</a>
         <ul>
            <li><img src="__PUBLIC__/Images/user_comment.png" width="16" height="16"/><a href="__APP__/YouZi/cody/c_id/2" target="main">会员管理</a></li>
            <li><img src="__PUBLIC__/Images/user_comment.png" width="16" height="16"/><a href="__APP__/News/cody/c_id/1/" target="main">新闻管理</a></li>
            <li><img src="__PUBLIC__/Images/database_save.png" width="16" height="16"/><a href="__APP__/YouZi/cody/c_id/7" target="main">数据库备份</a></li>
            <li><img src="__PUBLIC__/Images/application_edit.png" width="16" height="16"/><a href="__APP__/YouZi/cody/c_id/3" target="main">参数设置</a></li>
            <li><img src="__PUBLIC__/Images/database_delete.png" width="16" height="16"/><a href="__APP__/YouZi/cody/c_id/9" target="main">清空数据</a></li>
         </ul>
      </li><?php endif; ?>
<!--      <li><img src="__PUBLIC__/Images/checked_out.png" width="16" height="16"/><a href="" target="main">桌面</a>
         <ul>
            <li><img src="__PUBLIC__/Images/checked_out.png" width="16" height="16"/><a href="" target="main">我的页面</a></li>
            <li><img src="__PUBLIC__/Images/checked_out.png" width="16" height="16"/><a href="" target="main">我的页面</a></li>
         </ul>
      </li>
      <li><img src="__PUBLIC__/Images/checked_out.png" width="16" height="16"/><a href="" target="main">桌面</a>
         <ul>
            <li><img src="__PUBLIC__/Images/checked_out.png" width="16" height="16"/><a href="" target="main">我的页面</a></li>
            <li><img src="__PUBLIC__/Images/checked_out.png" width="16" height="16"/><a href="" target="main">我的页面</a></li>
         </ul>
      </li>-->
      <li><img src="__PUBLIC__/Images/cancel.png" width="16" height="16"/><a href="__APP__/Public/LogOut/"  onclick="if(confirm('确定安全退出吗?')) return true; else return false;" target="_top">退出</a></li>
    </ul>
  </div>
</div>
<!--头部菜单-->
<!--内容部分-->
<div class="main"><iframe src="__APP__/Public/main" onload="turnHeight('main');" id="main"  name="main" height="100%" width="100%" frameborder="0" scrolling="no" ></iframe></div>
<!--内容部分-->
</div>
</body>
</html>